<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<c:choose>
	<c:when test="${sessionScope.username eq null}">
		欢迎您，亲爱的游客<span style="margin-right: 15px;margin-left: 15px;"><a href="login">登陆</a></span> <span><a href="register">注册</a></span>
	</c:when>
	<c:when test="${sessionScope.username ne null}">
		您好，${sessionScope.username}<span style="margin-left: 15px;margin-right: 15px;"><a href="permit/ordersdetail?type=1">我是卖家</a></span><span><a href="permit/ordersdetail?type=2">我是买家</a></span><span style="margin-left: 15px;margin-right: 15px;"><a href="permit/modifyavatar">修改头像</a></span><span style="margin-left: 15px;margin-right: 15px;"><a href="logout">退出</a></span>
	</c:when>
</c:choose>